#pragma once

#include "PluginInterface.h"
#include "Docking.h"

#define PYNPP "pynpp"

struct ExecData {
	HINSTANCE hNPP;
	HWND hConsole;
	RECT rcConsole;
	HWND hConsoleScintilla;
	HMENU hMenu;
	BOOL ConsoleOpen;
};

// Extern Variables
extern NppData nppData;
extern ExecData execData;
extern const int nbFunc;
extern FuncItem funcItems[];
extern tTbData dockingData;

// Plugin Functions
sptr_t SendSci(unsigned int iMessage, uptr_t wParam, sptr_t lParam);

void pynpp_About();
void pynpp_OpenCloseConsole();
BOOL CALLBACK
pynpp_ConsoleProc(HWND hwndDlg, UINT message, WPARAM wParam, LPARAM lParam);
